package main

import "fmt"

func main() {
	f1()
}

func f1() {
	for i := 0; i < 4; i++ {
		g := func(a int) {
			fmt.Printf("%d ", a)
		}
		g(i)
		fmt.Printf(" - g is of type %T and has value %v\n", g, g)
	}
}
